<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>边框</title>
    <style>
        div{
            width: 500px;
            height: 500px;
            background-color: pink;
            border: 3px solid black;
        }
        table,td,th{
            border: 1px solid #000;
        }
        table{
            border-collapse: collapse;
        }
    </style>
</head>
<body>
    <div></div>
    <table>
        <thead>
            <tr>
                <th>编号</th>
                <th>书名</th>
                <th>作者</th>
                <th>单价</th>
            </tr>
        </thead>
        <tbody>
            <tr>
                <td>1</td>
                <td>平凡的世界</td>
                <td>路遥</td>
                <td>35.5</td>
            </tr>
            <tr>
                <td>2</td>
                <td>活着</td>
                <td>余华</td>
                <td>20</td>
            </tr>
        </tbody>
        <tfood>
            <tr>
                <td>备注：</td>
                <td colspan="4"></td>
            </tr>
        </tfood>
    </table>
</body>
</html>